<?php
	define("BASE_URL", "http://".$_SERVER['HTTP_HOST']);
	
	
	define('BASE_DIR', $_SERVER['DOCUMENT_ROOT']);
	define("CONFIG_DIR", 	BASE_DIR."/_config");
	define("CONTROLLER_DIR",BASE_DIR."/_controller");
	define("MODEL_DIR", 	BASE_DIR."/_model");
	define("HELPER_DIR", 	BASE_DIR."/_helper");
	define("SITE_NAME", 	'VACOSI.COM');
	
	define ("PAGE_HOME", 	0);
	define ("PAGE_CAT", 	1);
	define ("PAGE_TYPE", 	2);
	define ("PAGE_PRODUCT", 3);
	define ("PAGE_NEWS", 	4);
	
	//define ("PAGING_ROW_PER_PAGE", 16);
	define ("PAGING_NEWS_PER_PAGE", 5);
	define ("PAGING_ALBUM_PER_PAGE",5);
	define ("PAGING_PRODUCT_PER_PAGE",5);
	
	$dbhost = "localhost";
	$dbuser = "root";
	$dbpassword = "";
	$dbdatabase = "vacosi";
	
	$config_sitename = "Trang điểm - Make up - VACOSI.COM";
	
	$config_format_datetime = "d/m/Y";
	
	define ("NEWS_STATUS_NEW", 	2);
	define ("NEWS_STATUS_VIDEO",3);
	define ("NEWS_STATUS_DOC",	4);
?>